package com.ceair.flight.refund.dto.ota;

import java.io.Serializable;
import java.util.HashSet;
import java.util.Set;

/**
 * SubOrderInfo entity. @author MyEclipse Persistence Tools
 */

public class SubOrderInfo implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 3140962780299035400L;

	// Fields
	private Long subid;
	private String channel;
	private String orderNo;
	private String subOrderNo;
	private String subOrderType;
	/**
	 * 是否国际线	false:否（国内） true:是（国际）
	 * */
	private Boolean isInter;
	private String subOrderStatus;
	public Boolean getIsInter() {
		return isInter;
	}

	public void setIsInter(Boolean isInter) {
		this.isInter = isInter;
	}

	private String shoppingType;
	private String productCode;
	private String travelskyCode;
	private String productName;
	private String paxType;
	private Double subOrderAmt;
	private Double salePrices;
	private Integer count;
	private String currency;
	private String salePricesDesc;
	private String itdlryAddress;
	private String contactName;
	private String contactPhone;
	private Integer versionNum;
	private Long crtDt;
	private Long optDt;
	private String reserve1;
	private String reserve2;
	private Set<SubOrderSeg> subOrderSegs = new HashSet<SubOrderSeg>(0);
	private Set<SubOrderPax> subOrderPaxes = new HashSet<SubOrderPax>(0);

	public String getTravelskyCode() {
		return travelskyCode;
	}
	
	public void setTravelskyCode(String travelskyCode) {
		this.travelskyCode = travelskyCode;
	}
	// Constructors

	/** default constructor */
	public SubOrderInfo() {
	}

	
	


	public SubOrderInfo(Long subid, String channel, String orderNo, String subOrderNo, String subOrderType,
			Boolean isInter, String subOrderStatus, String shoppingType, String productCode, String travelskyCode,
			String productName, String paxType, Double subOrderAmt, Double salePrices, Integer count, String currency,
			String salePricesDesc, String itdlryAddress, String contactName, String contactPhone, Integer versionNum,
			Long crtDt, Long optDt, String reserve1, String reserve2, Set<SubOrderSeg> subOrderSegs,
			Set<SubOrderPax> subOrderPaxes) {
		super();
		this.subid = subid;
		this.channel = channel;
		this.orderNo = orderNo;
		this.subOrderNo = subOrderNo;
		this.subOrderType = subOrderType;
		this.isInter = isInter;
		this.subOrderStatus = subOrderStatus;
		this.shoppingType = shoppingType;
		this.productCode = productCode;
		this.travelskyCode = travelskyCode;
		this.productName = productName;
		this.paxType = paxType;
		this.subOrderAmt = subOrderAmt;
		this.salePrices = salePrices;
		this.count = count;
		this.currency = currency;
		this.salePricesDesc = salePricesDesc;
		this.itdlryAddress = itdlryAddress;
		this.contactName = contactName;
		this.contactPhone = contactPhone;
		this.versionNum = versionNum;
		this.crtDt = crtDt;
		this.optDt = optDt;
		this.reserve1 = reserve1;
		this.reserve2 = reserve2;
		this.subOrderSegs = subOrderSegs;
		this.subOrderPaxes = subOrderPaxes;
	}

	// Property accessors

	public Long getSubid() {
		return this.subid;
	}



	public void setSubid(Long subid) {
		this.subid = subid;
	}

	public String getChannel() {
		return this.channel;
	}

	public void setChannel(String channel) {
		this.channel = channel;
	}

	public String getOrderNo() {
		return this.orderNo;
	}

	public void setOrderNo(String orderNo) {
		this.orderNo = orderNo;
	}

	public String getSubOrderNo() {
		return this.subOrderNo;
	}

	public void setSubOrderNo(String subOrderNo) {
		this.subOrderNo = subOrderNo;
	}

	public String getSubOrderType() {
		return this.subOrderType;
	}

	public void setSubOrderType(String subOrderType) {
		this.subOrderType = subOrderType;
	}

	public String getSubOrderStatus() {
		return this.subOrderStatus;
	}

	public void setSubOrderStatus(String subOrderStatus) {
		this.subOrderStatus = subOrderStatus;
	}
	
	public String getShoppingType() {
		return shoppingType;
	}

	public void setShoppingType(String shoppingType) {
		this.shoppingType = shoppingType;
	}

	public String getProductCode() {
		return this.productCode;
	}

	public void setProductCode(String productCode) {
		this.productCode = productCode;
	}

	public String getProductName() {
		return this.productName;
	}

	public void setProductName(String productName) {
		this.productName = productName;
	}

	public String getPaxType() {
		return this.paxType;
	}

	public void setPaxType(String paxType) {
		this.paxType = paxType;
	}

	public Double getSubOrderAmt() {
		return this.subOrderAmt;
	}

	public void setSubOrderAmt(Double subOrderAmt) {
		this.subOrderAmt = subOrderAmt;
	}

	public Double getSalePrices() {
		return this.salePrices;
	}

	public void setSalePrices(Double salePrices) {
		this.salePrices = salePrices;
	}

	public Integer getCount() {
		return this.count;
	}

	public void setCount(Integer count) {
		this.count = count;
	}

	public String getCurrency() {
		return this.currency;
	}

	public void setCurrency(String currency) {
		this.currency = currency;
	}

	public String getSalePricesDesc() {
		return this.salePricesDesc;
	}

	public void setSalePricesDesc(String salePricesDesc) {
		this.salePricesDesc = salePricesDesc;
	}

	public String getItdlryAddress() {
		return this.itdlryAddress;
	}

	public void setItdlryAddress(String itdlryAddress) {
		this.itdlryAddress = itdlryAddress;
	}

	public String getContactName() {
		return this.contactName;
	}

	public void setContactName(String contactName) {
		this.contactName = contactName;
	}

	public String getContactPhone() {
		return this.contactPhone;
	}

	public void setContactPhone(String contactPhone) {
		this.contactPhone = contactPhone;
	}

	public Integer getVersionNum() {
		return this.versionNum;
	}

	public void setVersionNum(Integer versionNum) {
		this.versionNum = versionNum;
	}

	public Long getCrtDt() {
		return this.crtDt;
	}

	public void setCrtDt(Long crtDt) {
		this.crtDt = crtDt;
	}

	public Long getOptDt() {
		return this.optDt;
	}

	public void setOptDt(Long optDt) {
		this.optDt = optDt;
	}

	public String getReserve1() {
		return this.reserve1;
	}

	public void setReserve1(String reserve1) {
		this.reserve1 = reserve1;
	}

	public String getReserve2() {
		return this.reserve2;
	}

	public void setReserve2(String reserve2) {
		this.reserve2 = reserve2;
	}

	public Set<SubOrderSeg> getSubOrderSegs() {
		return this.subOrderSegs;
	}

	public void setSubOrderSegs(Set<SubOrderSeg> subOrderSegs) {
		this.subOrderSegs = subOrderSegs;
	}

	public Set<SubOrderPax> getSubOrderPaxes() {
		return this.subOrderPaxes;
	}

	public void setSubOrderPaxes(Set<SubOrderPax> subOrderPaxes) {
		this.subOrderPaxes = subOrderPaxes;
	}

}